Skip to content

koord-descheduler: allow annotated pod only pass non-retriable filter#1321

Merged
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
ZiMengSheng:evictannotation_nonretryable
May 23, 2023
Merged

koord-descheduler: allow annotated pod only pass non-retriable filter#1321
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
ZiMengSheng:evictannotation_nonretryable

Conversation

@ZiMengSheng
Copy link
Member

Ⅰ. Describe what this PR does

The user of podMigrationJob may know the risk of migrationPod. So we allow annotated job to pass filter. Then user can use annotation to indicate he/she knows the risk.
However, user just want the annotated job to pass non-retryable filter and the retryable-filter(flow-control ability) should remain unchanged.

Ⅱ. Does this pull request fix one issue?

None

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

Signed-off-by: wangjianyu.wjy <wangjianyu.wjy@alibaba-inc.com>
@koordinator-bot koordinator-bot bot requested review from FillZpp and eahydra May 23, 2023 03:00
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.04 ⚠️

Comparison is base (9449d56) 64.75% compared to head (742160a) 64.71%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1321      +/-   ##
==========================================
- Coverage   64.75%   64.71%   -0.04%     
==========================================
  Files         319      319              
  Lines       33244    33244              
==========================================
- Hits        21527    21515      -12     
- Misses      10145    10156      +11     
- Partials     1572     1573       +1     
Flag Coverage Δ
unittests 64.71% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...kg/descheduler/controllers/migration/controller.go 65.52% <100.00%> (+0.13%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@eahydra eahydra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eahydra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@koordinator-bot koordinator-bot bot merged commit 07edd75 into koordinator-sh:main May 23, 2023
@ZiMengSheng ZiMengSheng deleted the evictannotation_nonretryable branch September 12, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants